﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SheepCommon.API.SheepSelles
{
    public class SheepSellCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int SellId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime SellTime { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public int? ClientId { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public string? Salesman { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string? Stash { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string? DeliveryAddress { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 成交价
        /// </summary>
        public decimal? ClosingPrice { get; set; }
        /// <summary>
        /// 定价
        /// </summary>
        public decimal? FixPrice { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public decimal? Discount { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }
    }
}
